package com.HomeWorkhsp.chapter10.homework.homework06;

/**
 * Enjoy programming!!!
 * Time: 2021/12/12 -  19:56
 */
public class VehiclesFactory {
    private final static Horse  horse = new Horse();

    public Horse getHorse(){
        return horse;
    }
    public Boat getBoat(){
        return new Boat();
    }
}
